package smartt.styy.auth.model.response;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@JsonAutoDetect(fieldVisibility = Visibility.NONE, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@ApiModel
public class AnonymousRsp {

	@JsonProperty("userId")
	@ApiModelProperty(name = "userId", value = "用户id")
	@Setter @Getter
	private String userId;
	
	@JsonProperty("username")
	@ApiModelProperty(name = "username", value = "登录用户名")
	@Setter @Getter
	private String username;
	
	@JsonProperty("userType")
	@ApiModelProperty(name = "userType", value = "用户类型  1:游客，2：导游，3：旅行社，4,：游企（景区，酒店），5：政府")
	@Setter @Getter
	private Integer userType;
	
	@JsonProperty("nickName")
	@ApiModelProperty(name = "nickName", value = "用户昵称")
	@Setter @Getter
	private String nickName;
	
	@JsonProperty("token")
	@ApiModelProperty(name = "token", value = "token")
	@Setter @Getter
	private String token;
	
	@JsonProperty("anonymous")
	@ApiModelProperty(name = "anonymous", value = "0:匿名，1：正常用户")
	@Setter @Getter
	private Integer anonymous;
	
	
}
